<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div>
    <p>请选择上传需要上传的文件</p>
    <form action="<%=path%>/FileUploadServlet" method="post" enctype="multipart/form-data">
        <input type="file" name="filename"/><br />
        <input type="text" name="name"/><br />
        <input type="text" name="age"/><br />
        <input type="text" name="address"/><br />
        <input type="radio" name="aa"/><br/>
        <button type="submit" >提交</button>
    </form>
    
    <p>${ msg}</p>
</div>
</body>
</html>